package org.example.po;

public class News {
    private int Id;

    public News(int id, String title, String content) {
        Id = id;
        this.title = title;
        this.content = content;
    }

    private String title;
    private String content;

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public News() {
    }
}
